const express = require('express');
const router = express.Router();

// 具体业务实现
const {
	search,
	bookDetail,
	bookContentText,
	getFenlei,
} = require('../server/index');

router.get('/search', search); // 搜索小说
router.get('/bookDetail', bookDetail); // 小说详情
router.get('/bookContentText', bookContentText); // 小说文本
router.get('/getFenlei', getFenlei); // 小说分类
module.exports = router;
